package com.farproc.bugreporter.simpletest;

import com.farproc.android.BugReporter;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainScreen extends Activity implements OnClickListener {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        BugReporter.setupMonitor(this, "a@b.c", null, null);
        
        ((Button)findViewById(R.id.Throw_Button)).setOnClickListener(this);
    }

	@Override
	public void onClick(View arg0) {
		throw new RuntimeException("Test");
	}
}